import { NgModule } from '@angular/core';

import { SharedModule } from '@shared/shared.module';
import { MenuModule } from '../menu/menu.module';
import { RoleRoutingModule } from './role-routing.module';

import { RoleService } from './service/role.service';

import { RoleListComponent } from './role-list/role-list.component';
import { RoleModifyComponent } from './modify/role-modify.component';
import { PermissionSetComponent } from './permission/permission-module.component';

@NgModule({
  imports: [
    SharedModule,
    MenuModule,
    RoleRoutingModule,
  ],
  declarations: [
    RoleListComponent,
    RoleModifyComponent,
    PermissionSetComponent
  ],
  providers: [
    RoleService
  ],
  entryComponents: [
    RoleListComponent,
    RoleModifyComponent,
    PermissionSetComponent
  ]
})

export class RoleModule { }
